import * as demo from "./demo";
import * as module2 from "./module2";
import * as module3 from "./module3";
import * as dataCleaning from "./dataCleaning";

const apiObj = {
  ...demo,
  ...module2,
  ...module3,
  ...dataCleaning,
};

const install = function (Vue) {
  if (install.installed) return;
  Object.defineProperties(Vue.prototype, {
    $api: {
      get() {
        return apiObj;
      },
    },
  });
};
export default {
  install,
};
